package com.activiti.basic.exception;

/**
 * 校验异常
 * @author pisory
 * @version 1.0
 * @date 2020/4/5
 */
public class ValidationException extends RuntimeException {

    public String status = "403";

    public ValidationException() {
    }

    public ValidationException(String message) {
        super(message);
    }

    public ValidationException(Throwable cause) {
        super(cause);
    }

    public ValidationException(String message, String status) {
        super(message);
        this.status = status;
    }

    public ValidationException(String message, Throwable cause) {
        super(message, cause);
    }

    public ValidationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
